import http from '@/utils/request'
// import type {} from './tableApiType'

// 登陆
export const reqLogin = (username: string, password: string) => {
  return http.post<any, any>('/api/user/login', { username, password })
}

// 注册
export const reqZhuCe = (username: string, password: string) => {
  return http.post<any, any>('/api/user/zhuce', { username, password })
}
